<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>操作结果</title>
</head>
<body>

<!-- 显示错误消息 -->
<div th:if="${error}">
    <div style="color: red; font-weight: bold;">
        <p th:text="${error}"></p>
    </div>
</div>

<!-- 显示成功消息 -->
<div th:if="${message}">
    <div style="color: green; font-weight: bold;">
        <p th:text="${message}"></p>
    </div>
</div>

</body>
</html>
